package com.luhuiguo.cms.shared.rpc;

import com.luhuiguo.cms.shared.model.ChannelModel;
import com.luhuiguo.gwt.dispatcher.shared.rpc.Action;

public class FetchArticles implements Action<FetchArticlesResult> {

    private static final long serialVersionUID = 6003693511067098022L;

    private Long channel;
    private int start;
    private int offset;

    protected FetchArticles() {

    }

    public FetchArticles(Long channel, int start, int offset) {
        this.channel = channel;
        this.start = start;
        this.offset = offset;
    }

    public Long getChannel() {
        return channel;
    }

    public int getStart() {
        return start;
    }

    public int getOffset() {
        return offset;
    }

}
